import request from '@/utils/request'

export function listRefund(query) {
  return request({
    url: `/admin-api/order/refundInfo/admin/list`,
    method: 'get',
    params: query
  })
}

export function processRefund(data) {
  return request({
    url: `/admin-api/order/refundInfo/processRefund`,
    method: 'post',
    data: data
  })
}
